<?php
/**
 * Created by PhpStorm.
 * User: kun
 * Date: 23/6/19
 * Time: 18:23
 */

namespace app\common\validate;

use think\Validate;

class News extends Validate
{
    protected $rule = [
        'title|文章标题' => 'require',
        'small_title|简略标题' => 'require',
        'image|图片' => 'require',
        'content|文章内容' => 'require|min:2',
        'description|文章摘要' => 'require',
    ];
}